function AjaxUtils(options){
    this.options = {
       url:"",
       method:"GET",
       data:{},
       successCallBack:function(resp){
           console.log(resp);
       }
    };
    this.options = Object.assign(this.options, options);//将设定参数和默认参数进行合并操作;
    
    AjaxUtils.prototype.executeRequest = function(){
        $.ajax({
            "url":this.options.url,
            "method":this.options.method,
            "data":this.options.data,
            "success":this.options.successCallBack,
            "error":function(resp){
                alert("请求后台失败，请联系管理员同志...")
            }
        })
    }
}